﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WaveDetail2.aspx.cs" Inherits="WMS6.Web.Outbound.WaveDetail2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>BatchOrderDetail</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />
    <script src="../Js/jquery.js" type="text/javascript"></script>
    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>
        <script src="../Js/checkbox.js" type="text/javascript"></script>
    <script src="../Js/util.js" id="js" type="text/javascript"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script>    
     <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>
      <script src="../Js/Verification.js" type="text/javascript"></script>
    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initDetailPage();
        }
         //弹出窗口订单
        function selectOrderSelection()
        {
            var rtnValue = popModalWindow('../Outbound/OrderSelectionQuery.aspx?action=txtOrderSelectionID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtOrderSelectionID").focus();
                document.getElementById("txtOrderSelectionID").value = rtnValue;
                
                __doPostBack("txtOrderSelectionID_OnTextChanged","");

            }
        }
        
         function newOrderSelection()
        {
            var from = document.getElementById("hdnFrom").value;
            window.location.href = "OrderSelection.aspx?from=" + escape(from);
            return false;
        }
          //弹出窗口选择货主
        function selectOwner(txtname) {
            var rtnValue = popModalWindow('../Configuration/OwnerQuery.aspx?action=' + escape(txtname), 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById(txtname).focus();
                document.getElementById(txtname).value = rtnValue;
            }
        }
        //弹出窗口选择承运商
        function selectCarrier(txtname) {
            var rtnValue = popModalWindow('../Configuration/CarrierQuery.aspx?action=' + escape(txtname), 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById(txtname).focus();
                document.getElementById(txtname).value = rtnValue;              
            }
        }
           //弹出窗口选择客户
        function selectCustomer(txtname) {
            var rtnValue = popModalWindow('../Configuration/CustomerQuery.aspx?action=' + escape(txtname), 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById(txtname).focus();
                document.getElementById(txtname).value = rtnValue;
            }
        }
            //弹出窗口选择货品
        function selectSku(txtname) {
            var rtnValue = popModalWindow('../Configuration/SKUQuery.aspx?action=' + escape(txtname), 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById(txtname).focus();
                document.getElementById(txtname).value = rtnValue;
            }
        } 
        //弹出窗口选择lot
        function selectLot(txtname) {
            var rtnValue = popModalWindow('../Inventory/LotAttributeQuery.aspx?action=' + escape(txtname), 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById(txtname).focus();
                document.getElementById(txtname).value = rtnValue;
            }
        } 
                //弹出窗口选择SkuClass
        function selectSkuClass(txtname) {
            var rtnValue = popModalWindow('../Configuration/SkuClassQuery.aspx?action=' + escape(txtname), 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById(txtname).focus();
                document.getElementById(txtname).value = rtnValue;
            }
        }
        
    </script>
</head>
<body>
    <form id="F7194" runat="server">
    <div>
        
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        
        <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom"><asp:Label ID="lblBatchOrderDetail" runat="server" 
                            CssClass="label_header" Text="批量订单明细" 
                            meta:resourcekey="lblBatchOrderDetail"></asp:Label></td>
                    <td> <asp:Button ID="btnSearch" runat="server" Text="<%$Resources:ButtonResource,btnSearch%>" CssClass="button" 
                            Enabled="False" OnClick="btnSearch_Click" 
                            /></td>
                    <td><asp:Button ID="btnCancel" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnCancel%>" 
                            AccessKey="c"  Enabled="False" OnClick="btnCancel_Click" 
                              /></td>
                    <td><asp:Button ID="btnSave" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnSave%>" 
                            AccessKey="s"  Enabled="False" OnClick="btnSave_Click" 
                            meta:resourcekey="btnSave" /></td>
                              <td><asp:Button ID="btnSaveContinue" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnSaveContinue%>" 
                            AccessKey="s"  Enabled="False" OnClick="btnSaveContinue_Click" 
                                      /></td>
                </tr>
            </table>
        </div>
        
         <div>
            <asp:Label ID="lblMsg" runat="server" CssClass="label_message" 
                 meta:resourcekey="lblMsg"></asp:Label>
        </div>
        
        <div id="div_menu">
        <div style="float: left; width: 8px;">
                        <div class="tabL" id="divL1"></div>
                    </div>
                    <div style="float:left;" class="tabLabelCont tabCur" onclick="setTab('one',1,2)" id="divM1">
                        <asp:Label ID="one1" CssClass="hover" runat="server" 
                            meta:resourcekey="one1">查询并新增</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR" id="divR1"></div>
                    </div>
                    
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL2"></div>
                    </div>
                    <div style="float:left;" class="tabLabelCont tabCur_1" onclick="setTab('one',2,2);" id="divM2">
                        <asp:Label ID="one2" CssClass="navigationlabel" runat="server" 
                            meta:resourcekey="one2">&nbsp;订单明细&nbsp;</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR_1" id="divR2"></div>
                    </div>
        </div>
        
        <div id="div_content">
             <div id="con_one_1" style="display: block;  overflow-x:auto; overflow-y:hidden;">
                 <table width="750" style="display: block; margin-left: 10px; margin-top: 10px;">
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lbl" runat="server" CssClass="label" Text="订单筛选条件" 
                                meta:resourcekey="lbl"></asp:Label>
                        </td>
                        <td width="180px">
                           
                        </td>
                          <td width="180px">
                           
                        </td>
                          <td width="180px">
                           
                        </td>
                         <td width="360px">
                           
                        </td>
                        
                    </tr>
                    <tr>
                        <td width="180px" colspan=2>
                       <asp:TextBox ID="txtOrderSelectionID" runat="server" CssClass="textbox"  OnTextChanged="txtOrderSelectionID_OnTextChanged" AutoPostBack="true"
                                meta:resourcekey="txtOrderSelectionID"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" id="imgOrderID" runat="server" class="img" onclick="selectOrderSelection();"/>   
                        </td>                        
                          <td width="180px">                           
                        </td>
                          <td width="180px">                           
                        </td>
                         <td width="360px">
                           
                        </td>
                        
                    </tr>
                    <tr>
                    <td  width="180px">
                       <asp:Label ID="lblDescr" runat="server" CssClass="label" Text="描述" 
                            meta:resourcekey="lblDescr"></asp:Label>
                     </td>
                       <td width="180px">                       
                        </td>
                          <td width="180px">                           
                        </td>
                          <td width="180px">     
                        </td>
                         <td width="360px">
                           
                        </td>
                         
                    </tr>
                    <tr>
                    <td colspan="5">
                      <asp:TextBox ID="txtDescr" runat="server" CssClass="largetextbox" Enabled="False" 
                            meta:resourcekey="txtDescr" ></asp:TextBox>
                    </td>
                    </tr>
                   
                     <tr style="height: 10px;">
                         <td colspan=5>
                             <table width="750px" style="display: block; margin-left: 10px; margin-top: 10px;" >
                            <tr>
                                 <td width="180px"><asp:Label ID="lblFrom" runat="server" CssClass="label" Text="从" 
                                        meta:resourcekey="lblFrom"></asp:Label></td>
                                  <td width="180px"> <asp:Label ID="lblTo" runat="server" CssClass="label" Text="至" 
                                        meta:resourcekey="lblTo"></asp:Label> </td>
                                <td width="30">
                                   
                                </td>
                                 <td width="180px"><asp:Label ID="Label1" runat="server" CssClass="label" Text="从" 
                                        meta:resourcekey="lblFrom"></asp:Label></td>
                                  <td width="180px"> <asp:Label ID="Label2" runat="server" CssClass="label" Text="至" 
                                        meta:resourcekey="lblTo"></asp:Label> </td>
                            </tr>
                            
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblOrderIdStart" runat="server"  CssClass="label" Text="订单号" 
                                        meta:resourcekey="lblOrderIdStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblOrderIdEnd" runat="server"  CssClass="label" Text="订单号" 
                                        meta:resourcekey="lblOrderIdEnd"></asp:Label>
                                </td>
                                <td width="30px"></td>
                                <td width="180px">
                                    <asp:Label ID="lblCityBegin" runat="server"  CssClass="label" Text="城市" 
                                        meta:resourcekey="lblCityBegin"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblCityEnd" runat="server"  CssClass="label" Text="城市" 
                                        meta:resourcekey="lblCityEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderIdStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOrderIdStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderIdEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOrderIdEnd"></asp:TextBox>
                                </td>
                                   <td width="30px"></td>
                                 <td width="180px">
                                    <asp:TextBox ID="txtCityStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtCityStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtCityEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtCityEnd"></asp:TextBox>
                                </td>
                            </tr>
                            
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblOwnerIdStart" runat="server"  CssClass="label" Text="货主代码" 
                                        meta:resourcekey="lblOwnerIdStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblOwnerIdEnd" runat="server"  CssClass="label" Text="货主代码" 
                                        meta:resourcekey="lblOwnerIdEnd"></asp:Label>
                                </td>
                                  <td width="30px"></td>
                                   <td width="180px">
                                    <asp:Label ID="lblCarrierIdStart" runat="server"  CssClass="label" Text="承运商代码" 
                                        meta:resourcekey="lblCarrierIdStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblCarrierIdEnd" runat="server"  CssClass="label" Text="承运商代码" 
                                        meta:resourcekey="lblCarrierIdEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtOwnerIdStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOwnerIdStart"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectOwner('txtOwnerIdStart');"/>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtOwnerIdEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOwnerIdEnd"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectOwner('txtOwnerIdEnd');"/>
                                </td>
                                   <td width="30px"></td>
                                <td width="180px">
                                    <asp:TextBox ID="txtCarrierIdStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtCarrierIdStart"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectCarrier('txtCarrierIdStart');"/>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtCarrierIdEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtCarrierIdEnd"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectCarrier('txtCarrierIdEnd');"/>
                                </td>
                            </tr>
                            
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblOrderStatusStart" runat="server"  CssClass="label" 
                                        Text="订单状态" meta:resourcekey="lblOrderStatusStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblOrderStatusEnd" runat="server"  CssClass="label" Text="订单状态" 
                                        meta:resourcekey="lblOrderStatusEnd"></asp:Label>
                                </td>
                                   <td width="30px"></td>
                                  <td width="180px">
                                    <asp:Label ID="lblDoorStart" runat="server"  CssClass="label" Text="门" 
                                        meta:resourcekey="lblDoorStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblDoorEnd" runat="server"  CssClass="label" Text="门" 
                                        meta:resourcekey="lblDoorEnd"></asp:Label>
                                </td>
                             
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderStatusStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOrderStatusStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderStatusEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOrderStatusEnd"></asp:TextBox>
                                </td>
                                   <td width="30px"></td>
                                    <td width="180px">
                                    <asp:TextBox ID="txtDoorStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtDoorStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtDoorEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtDoorEnd"></asp:TextBox>
                                </td>
                            </tr>
                            
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblOrderTypeStart" runat="server"  CssClass="label" Text="订单类型" 
                                        meta:resourcekey="lblOrderTypeStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblOrderTypeEnd" runat="server"  CssClass="label" Text="订单类型" 
                                        meta:resourcekey="lblOrderTypeEnd"></asp:Label>
                                </td>
                                   <td width="30px"></td>
                                  <td width="180px">
                                    <asp:Label ID="lblRouteStart" runat="server"  CssClass="label" Text="路线" 
                                        meta:resourcekey="lblRouteStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblRouteEnd" runat="server"  CssClass="label" Text="路线" 
                                        meta:resourcekey="lblRouteEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderTypeStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOrderTypeStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderTypeEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOrderTypeEnd"></asp:TextBox>
                                </td>
                                   <td width="30px"></td>
                                 <td width="180px">
                                    <asp:TextBox ID="txtRouteStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtRouteStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtRouteEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtRouteEnd"></asp:TextBox>
                                </td>
                            </tr>
                            
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblOrderDateStart" runat="server"  CssClass="label" Text="订单日期" 
                                        meta:resourcekey="lblOrderDateStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblOrderDateEnd" runat="server"  CssClass="label" Text="订单日期" 
                                        meta:resourcekey="lblOrderDateEnd"></asp:Label>
                                </td>
                                   <td width="30px"></td>
                                 <td width="180px">
                                    <asp:Label ID="lblStopStart" runat="server"  CssClass="label" Text="站点" 
                                        meta:resourcekey="lblStopStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblStopEnd" runat="server"  CssClass="label" Text="站点" 
                                        meta:resourcekey="lblStopEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderDateStart" runat="server"  
                                        onblur="Javascript:dataVer._IsTime(this,'lblMsg')" CssClass="textbox" 
                                        meta:resourcekey="txtOrderDateStart"></asp:TextBox><img src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtOrderDateStart)"/>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderDateEnd" runat="server"  
                                        onblur="Javascript:dataVer._IsTime(this,'lblMsg')" CssClass="textbox" 
                                        meta:resourcekey="txtOrderDateEnd"></asp:TextBox><img src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtOrderDateEnd)"/>
                                </td>
                                   <td width="30px"></td>
                                    <td width="180px">
                                    <asp:TextBox ID="txtStopStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtStopStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtStopEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtStopEnd"></asp:TextBox>
                                </td>
                            </tr>
                            
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblDeliveryDataStart" runat="server"  CssClass="label" 
                                        Text="到货日期" meta:resourcekey="lblDeliveryDataStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblDeliveryDataEnd" runat="server"  CssClass="label" Text="到货日期" 
                                        meta:resourcekey="lblDeliveryDataEnd"></asp:Label>
                                </td>
                                   <td width="30px"></td>
                                 <td width="180px">
                                    <asp:Label ID="lblLoadIdStart" runat="server"  CssClass="label" Text="装载号" 
                                        meta:resourcekey="lblLoadIdStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblLoadIdEnd" runat="server"  CssClass="label" Text="装载号" 
                                        meta:resourcekey="lblLoadIdEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtDeliveryDataStart" runat="server"  
                                        onblur="Javascript:dataVer._IsTime(this,'lblMsg')" CssClass="textbox" 
                                        meta:resourcekey="txtDeliveryDataStart"></asp:TextBox><img src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtDeliveryDataStart)"/>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtDeliveryDataEnd" runat="server" 
                                        onblur="Javascript:dataVer._IsTime(this,'lblMsg')"  CssClass="textbox" 
                                        meta:resourcekey="txtDeliveryDataEnd"></asp:TextBox><img src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtDeliveryDataEnd)"/>
                                </td>
                                   <td width="30px"></td>
                                  <td width="180px">
                                    <asp:TextBox ID="txtLoadIdStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtLoadIdStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtLoadIdEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtLoadIdEnd"></asp:TextBox>
                                </td>
                            </tr>
                            
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblExternOrderIdStart" runat="server"  CssClass="label" 
                                        Text="外部订单号" meta:resourcekey="lblExternOrderIdStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblExternOrderIdEnd" runat="server"  CssClass="label" 
                                        Text="外部订单号" meta:resourcekey="lblExternOrderIdEnd"></asp:Label>
                                </td>
                                   <td width="30px"></td>
                                   <td width="180px">
                                    <asp:Label ID="lblSkuIdStart" runat="server"  CssClass="label" Text="货品代码" 
                                        meta:resourcekey="lblSkuIdStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblSkuIdEnd" runat="server"  CssClass="label" Text="货品代码" 
                                        meta:resourcekey="lblSkuIdEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtExternOrderIdStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtExternOrderIdStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtExternOrderIdEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtExternOrderIdEnd"></asp:TextBox>
                                </td>
                                   <td width="30px"></td>
                                 <td width="180px">
                                    <asp:TextBox ID="txtSkuIdStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtSkuIdStart"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectSku('txtSkuIdStart');"/>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtSkuIdEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtSkuIdEnd"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectSku('txtSkuIdEnd');"/>
                                </td>
                            </tr>
                            
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblOrderPriorityStart" runat="server"  CssClass="label" 
                                        Text="订单优先级" meta:resourcekey="lblOrderPriorityStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblOrderPriorityEnd" runat="server"  CssClass="label" 
                                        Text="订单优先级" meta:resourcekey="lblOrderPriorityEnd"></asp:Label>
                                </td>
                                   <td width="30px"></td>
                                    <td width="180px">
                                    <asp:Label ID="lblLotStart" runat="server"  CssClass="label" Text="批号" 
                                        meta:resourcekey="lblLotStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblLotEnd" runat="server"  CssClass="label" Text="批号" 
                                        meta:resourcekey="lblLotEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderPriorityStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOrderPriorityStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderPriorityEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOrderPriorityEnd"></asp:TextBox>
                                </td>
                                   <td width="30px"></td>
                                 <td width="180px">
                                    <asp:TextBox ID="txtLotStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtLotStart"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectLot('txtLotStart');"/>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtLotEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtLotEnd"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectLot('txtLotEnd');"/>
                                </td>
                            </tr>
                            
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblCompanyStart" runat="server"  CssClass="label" Text="客户代码" 
                                        meta:resourcekey="lblCompanyStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblCompanyEnd" runat="server"  CssClass="label" Text="客户代码" 
                                        meta:resourcekey="lblCompanyEnd"></asp:Label>
                                </td>
                                   <td width="30px"></td>
                                   <td width="180px">
                                    <asp:Label ID="lblSkuClassIdStart" runat="server"  CssClass="label" Text="货品分类" 
                                        meta:resourcekey="lblSkuClassIdStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblSkuClassIdEnd" runat="server"  CssClass="label" Text="货品分类" 
                                        meta:resourcekey="lblSkuClassIdEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtCompanyStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtCompanyStart"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectCustomer('txtCompanyStart');"/>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtCompanyEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtCompanyEnd"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectCustomer('txtCompanyEnd');"/>
                                </td>
                                   <td width="30px"></td>
                                  <td width="180px">
                                    <asp:TextBox ID="txtSkuClassIdStart" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtSkuClassIdStart"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectSkuClass('txtSkuClassIdStart');"/>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtSkuClassIdEnd" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtSkuClassIdEnd"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectSkuClass('txtSkuClassIdEnd');"/>
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                         <td>
                         </td>
                         <td>
                         </td>
                     </tr> 
                         </table>                
                         </td>
                      
                     </tr>               
                     
                     <tr style="height: 10px;">
                         <td>
                         </td>
                         <td>
                         </td>
                     </tr>   
                 </table>
             </div>
            <div id="con_one_2" style="display: none; overflow-x: auto; overflow-y: hidden;">
                <table width="1400px" style="margin-left: 10px; margin-top: 10px; margin-bottom:30px;">
                    <tr>
                        <td>
                            <div>
                                <asp:GridView ID="gvWaveDetail" runat="server" AutoGenerateColumns="False" Width="1400px"
                                    CssClass="gridview" DataKeyNames="ORDER_ID,STATUS,OWNER_ID" OnInit="gvWaveDetail_Init"
                                    OnRowDataBound="gvWaveDetail_RowDataBound" AllowPaging="True" OnPageIndexChanging="gvWaveDetail_PageIndexChanging"
                                    meta:resourcekey="gvWaveDetail">
                                    <FooterStyle CssClass="GridViewFooterStyle" />
                                    <RowStyle CssClass="GridViewRowStyle" />
                                    <HeaderStyle CssClass="GridViewHeaderStyle" />
                                    <PagerStyle CssClass="GridViewPageStyle" />
                                    <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                                    <Columns>
                                        <asp:BoundField HeaderText="序号" FooterText="序号" meta:resourcekey="No">
                                            <ItemStyle CssClass="GridViewRowWidth_40" />
                                        </asp:BoundField>
                                        <asp:TemplateField meta:resourcekey="TemplateField">
                                            <HeaderTemplate>
                                                <img src="../Images/gvSettingpic.gif" id="img01" class="gvSettingImg" onclick="gvUserSetting('7034','gvWaveDetail');" onmouseover="showGVUserSettingAlt(this);" alt="customize list" />
                                                <asp:CheckBox ID="CheckBox1" runat="server" onclick="selectAll(this,'gvWaveDetail');"
                                                    meta:resourcekey="CheckBox1" />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:CheckBox ID="chbSelect" runat="server" meta:resourcekey="chbSelect" />
                                            </ItemTemplate>
                                            <FooterTemplate>
                                                <asp:CheckBox ID="CheckBox2" runat="server" onclick="selectAll(this,'gvWaveDetail');"
                                                    meta:resourcekey="CheckBox2" />
                                            </FooterTemplate>
                                            <HeaderStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_50" />
                                            <ItemStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_50" />
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="ORDER_ID" HeaderText="订单号" FooterText="订单号" SortExpression="ORDER_ID"
                                            meta:resourcekey="ORDER_ID">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="STATUS" HeaderText="状态" FooterText="状态" SortExpression="STATUS"
                                            meta:resourcekey="STATUS">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="OWNER_ID" HeaderText="货主代码" FooterText="货主代码" SortExpression="OWNER_ID"
                                            meta:resourcekey="OWNER_ID">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="PRIORITY" HeaderText="优先级" FooterText="优先级" SortExpression="PRIORITY"
                                            meta:resourcekey="PRIORITY">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="TYPE" HeaderText="类型" FooterText="类型" SortExpression="TYPE"
                                            meta:resourcekey="TYPE">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="Consignee_ID" HeaderText="客户代码" FooterText="客户代码" SortExpression="Consignee_ID"
                                            meta:resourcekey="Consignee_ID">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:TemplateField FooterText="订单日期" HeaderText="订单日期" SortExpression="ORDER_DATE"
                                            meta:resourcekey="ORDER_DATE">
                                            <ItemTemplate>
                                                <asp:Label ID="lblORDER_DATE" runat="server" Text='<%# GetPreferenceShortDate(Eval("ORDER_DATE").ToString()) %>'
                                                    meta:resourcekey="lblORDER_DATE"></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle CssClass="GridViewRowWidth_150" />
                                        </asp:TemplateField>
                                        <asp:TemplateField FooterText="要求发货日期" HeaderText="要求发货日期" SortExpression="REQUESTED_SHIP_DATE"
                                            meta:resourcekey="REQUESTED_SHIP_DATE">
                                            <ItemTemplate>
                                                <asp:Label ID="lblREQUESTED_SHIP_DATE" runat="server" Text='<%# GetPreferenceShortDate(Eval("REQUESTED_SHIP_DATE").ToString()) %>'
                                                    meta:resourcekey="lblREQUESTED_SHIP_DATE"></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle CssClass="GridViewRowWidth_150" />
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="DOOR" HeaderText="门" FooterText="门" SortExpression="DOOR"
                                            meta:resourcekey="DOOR">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="ROUTE" HeaderText="线路" FooterText="线路" SortExpression="ROUTE"
                                            meta:resourcekey="ROUTE">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="STOP" HeaderText="站点" FooterText="站点" SortExpression="STOP"
                                            meta:resourcekey="STOP">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                    </Columns>
                                </asp:GridView>
                            </div>
                        </td>
                    </tr>
                    <tr height="30px">
                        <td>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    
    </div>
        <input type="hidden" id="hdnFrom" runat="server" />
        <input type="hidden" id="hdnWaveID" runat="server" />
        <input type="hidden" id="hdnDataFormat"  runat="server"/>  
        <input type="hidden" id="hdncalendarFlag"  runat="server"/>  
    </form>
</body>
</html>
<script language="javascript" type="text/javascript" event="onclick" for="document">
		<!--
			hiddenCalendarDiv();
		//-->
</script>
